#ifndef CHARACTER_H
#define CHARACTER_H

#include "qgraphicsitem.h"
#include <QObject>

class character : public QObject,public QGraphicsPixmapItem
{
    Q_OBJECT
public:
    explicit character(QObject *parent = nullptr);


    //血量
    int life=1000;


signals:
};

#endif // CHARACTER_H
